<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use App\Models\Match;

class MatchTableSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('matches')->delete();

        Match::create([
            'lost_item_id' => 1,
            'find_item_id' => 2,
            'match_time' => date('Y-m-d H:i:s'),
            'match_user_id' => 1
        ]);
    }

}
